This repository was archived by the owner on Apr 6, 2026. It is now read-only.
27 copilot reimagine prompts - plan, implement, apply!#28
Merged
arnaudlh merged 13 commits intomicrosoft:mainfrom Aug 12, 2025
Merged
27 copilot reimagine prompts - plan, implement, apply!#28arnaudlh merged 13 commits intomicrosoft:mainfrom
arnaudlh merged 13 commits intomicrosoft:mainfrom
Conversation
- Created a new prompt for improving testing.md documentation to enhance clarity and eliminate redundancy. - Added a changelog to document notable changes and improvements in testing documentation. - Updated testing.md to streamline content, improve formatting, and ensure essential information is preserved. - Consolidated testing instructions to maintain a single source of truth and improve user experience.
- Updated `.github/copilot-instructions.md` to provide clearer guidelines on project structure and documentation requirements. - Created new `.github/instructions/tf.instructions.md` file to outline Terraform implementation guidelines. - Added new prompts in `.github/prompts/` for planning, implementing, and testing Terraform modules. - Deleted outdated `.github/prompts/devbox-tf.prompt.md` to streamline prompt files. - Introduced `docs/file-structure.md` to detail the organization of project files and folders. - Modified `docs/module_guide.md` to include additional features and improve clarity on environment type configurations.
Contributor
Author
|
Integration tests are failing because |
- Updated the `dev_center_network_connection` module to use the `azapi` provider instead of `azurerm`. - Modified `module.tf` to replace `azurerm_dev_center_network_connection` with `azapi_resource`. - Adjusted output values in `output.tf` to reflect changes in resource type. - Updated `README.md` and `variables.tf` to align with the new provider and resource structure. - Enhanced configuration examples in `configuration.tfvars` for both enhanced and simple cases. - Ensured compatibility with existing module interfaces while improving internal implementation.
…so updated docs to explain how this works.
a69210a to
d6e7680
Compare
arnaudlh
approved these changes
Aug 12, 2025
This was
linked to
issues
Aug 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reimagined the way to vibe-code new terraform modules. The steps are now as follows
aztf-agentchat mode/1-plan <module_name>which generates a new *.plan.md file - for review and modification/2-implement <module_name>which implements the generated plan/3-apply <module_name>which runsterraform applyagainst your Azure subscription (and fixes issues as needed).Other .md files were also changed so that instructions are clear to copilot.
To test,
dev_center_environment_typehas been reimplemented.In addition,
dev_center_network_connectionswas migrated from AzureRM to AzAPI to fix CI (terraform test) issues.Copilot Generated PR Outline
New Features and Enhancements
aztf-agent.chatmode.mdto describe an AI-powered agent for implementing Azure Terraform modules, along with a comprehensive list of tools available to the agent.1-plan.prompt.md), step-by-step implementation (2-implement.prompt.md), and testing (3-apply.prompt.md) of Terraform modules, emphasizing modularity, validation, and adherence to project standards. [1] [2] [3]Updates to Development Guidelines
copilot-instructions.mdwith a new comprehensive set of general development guidelines for the DevFactory project, covering core rules, file structure, communication standards, CLI usage, quality standards, and modular patterns.tf.instructions.md) to enforce the exclusive use of theAzAPIprovider (v2.4.0), added default region guidance (eastus), and clarified restrictions on using theazurermprovider. [1] [2] [3] [4]File Restructuring
.github/instructions/devbox-tf.instructions.mdto.github/instructions/tf.instructions.mdto align with the new modular file naming conventions.Deprecation and Cleanup
devbox-tf.prompt.mdfile, consolidating its content into the new structured prompts and instructions.These changes aim to streamline the development process, enforce best practices, and provide clear, actionable guidance for working with Azure Terraform modules.